package com.woniuxy.factory.service;

import com.woniuxy.factory.entity.ProductionPlan;
import com.woniuxy.factory.entity.ResponseResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface ProductionPlanService {

    ResponseResult<List<ProductionPlan>> getProductionPlans(ProductionPlan productionPlan, int page, int limit);


    ResponseResult addProductionPlan(ProductionPlan productionPlan, HttpServletRequest request);

    ResponseResult deleteProductionPlan(String prpId);

    ResponseResult insertState(String prpId);

    ResponseResult<Map> getProductionPlan(String prpId);

    ResponseResult updateProductionplan(ProductionPlan productionPlan);
}
